<div class="container">
    <div class="top">
        <h1 class="page__title" style="background-color:#479de6">抄表作業<span id="PageBack" class="back">返回</span><a class="home fa fa-home ajax-page" id="home" href=".html"></a></h1>
    </div>
    <div class="page" id="page" style="background-color:#ffffff;">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div id="view294210" class="" style="padding: 5px; margin: 5px;">
                <div class="" style="padding: 5px;">
                    <strong><font face="微软雅黑, Microsoft YaHei">案場</font></strong>
                </div>
                <div class="" style="padding: 5px; margin: 5px;">
                    <h1 style="font-size: 32px; font-weight: bold; border-bottom: 2px solid rgb(204, 204, 204); padding: 0px 4px 0px 0px; text-align: center; margin: 0px 0px 20px;"><span style="color: rgb(51, 51, 51); text-align: center; background-color: rgb(245, 245, 245); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 20px;">{$anchangname}</span></h1>
                </div>
                {if !$isanchanguser}
                <div class="weui-flex" style="">
                    <div id="flex_item2800820" class="weui-flex_item weui-flex_item2800820" style="flex-basis:auto;padding: 0px !important;width:100%;">
                        <div class="weui-form" style="padding: 5px; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;">
                            <div class="weui-form-item">
                                <a data-index="6104080" href="{:url('home/searchanchang')}" class="weui-btn    weui-btn_primary  ">切換案場</a>
                            </div>
                        </div>
                    </div>
                    <div id="flex_item2800821" class="weui-flex_item weui-flex_item2800821" style="flex-basis:auto;padding: 0px !important;width:100%;">
                        <div class="weui-form" style="padding: 5px; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;">
                            <div class="weui-form-item">
                                <a data-index="8515480" href="cbzy1.html" class="weui-btn    weui-btn_primary  ">新增</a>
                            </div>
                        </div>
                    </div>
                </div>
                {/if}

                <form method="post" role="form" action="">
                    <input type="hidden" name="anchang_id" value="{$anchang_id}">
                    <div class="row-form clearfix ">
                        <div class="">
                            <div class="weui-cell">
                                <div class="weui-cell__hd   ">
                                    <label class="weui-label" for="392228">類型選擇</label>
                                </div>
                                <div class="weui-cell__bd">
                                    <select name="sdtype_id" class="weui-input " data-load="1" data-ride="select" placeholder="请选择" id="392228">
                                        <option value="">请选择</option>
                                        <option value="0" data-value="0" {if $sdtype_id == 0} selected="selected" data-checked="checked" {/if} data-title="全部">全部</option>
                                        {foreach name="sdtypelist" item="vo"}
                                            <option value="{$vo.id}"  data-value="{$vo.id}" data-title="{$vo.name}" {if $vo.id == $sdtype_id} selected="selected" data-checked="checked" {/if} >{$vo.name}</option>
                                        {/foreach}
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <input type="hidden" class="hide" name="dashboardId" value="23457"> <input type="hidden" class="hide" name="formId" value="840534"> <input type="hidden" class="hide" name="tableName" value="table_840534"> <input type="hidden" class="hide" name="id" value="">
                    <div id="errorsform840534" class="hide"></div>
                    <div class="col-xs-12  col-xs-offset-4" style="padding-bottom: 10px">
                        <button type="submit" class="btn btn-success">提交</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </form>

                {foreach name="sdblist" item="vo"}
                 <div  class="">
                    <div class="weui-panel weui-panel_access" style="border-width: 1px; border-style: solid; border-color: rgb(17, 91, 201); border-radius: 5px; padding: 5px; margin: 5px;">
                        <div class="weui-panel__hd nav-black">
                            <div class="weui-panel__title">
                                {$vo.name}
                            </div>
                            <div class="weui-panel__tools">

                            </div>
                        </div>
                        <div class="weui-panel__bd" id="pandel_bd{$vo.id}33">
                            <div class="" style="padding: 5px; margin: 5px;">
                                最新數值: {$vo.cbs}
                            </div>
                            <div class="" style="padding: 5px; margin: 5px;">
                                紀錄日期: {$vo.logdate}
                            </div>
                            <div class="" style="padding: 5px; margin: 5px;">
                                表號: {$vo.biaohao}
                            </div>
                            <div class="" style="padding: 5px; margin: 5px;">
                                類型: {$vo.sdtype.name}
                            </div>
                        </div>
                        {if !$isanchanguser}
                        <div class="weui-panel__ft" id="pandel_ft464133">
                            <div class="weui-form">
                                <div class="weui-form-item">
                                    <a data-index="{$vo.id}1" href="{:url('home/cbzy2').'?ids='.$vo.id}" class="weui-btn    weui-btn_plain-primary  ">新增紀錄</a>
                                </div>
                            </div>
                        </div>
                        {/if}
                    </div>
                </div>
                {/foreach}

            </div>
            <div class="weui-tabbar .tabbar281124" id="tabbar281124" style="width: 100%;">
                <a href="{:url('home/index')}" page="index" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon1c.png" img="__CDN__/assets/images/icon1c.png" selectimg="__CDN__/assets/images/icon1.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">首頁</p> </a>
                <a href="{:url('home/cbzy')}" page="empty" class="weui-tabbar__item -page  weui-bar__item_on "> <img src="__CDN__/assets/images/icon2.png" img="__CDN__/assets/images/icon2c.png" selectimg="__CDN__/assets/images/icon2.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">抄表作業</p> </a>

                {if $isanchanguser}
                <a href="{:url('home/anchang').'?anchang_id='.$anchangid}" page="anchang" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon_purchase04.png" img="__CDN__/assets/images/icon_purchase04.png" selectimg="__CDN__/assets/images/icon_purchase04_pressed.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">案場</p> </a>
                {else}
                <a href="{:url('home/anchanglist')}" page="anchanglist" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon_purchase04.png" img="__CDN__/assets/images/icon_purchase04.png" selectimg="__CDN__/assets/images/icon_purchase04_pressed.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">案場</p> </a>
                {/if}
                <a href="{:url('user/profile')}" page="account" class="weui-tabbar__item "> <img src="__CDN__/assets/images/icon3c.png" img="__CDN__/assets/images/icon3c.png" selectimg="__CDN__/assets/images/icon3.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">帳號</p> </a>
                <style type="text/css">
                    .tabbar281124 {}

                    .weui-tabbar__label281124 {
                        color: #999999 !important;
                    "

                    }

                    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label281124 {
                        color: #09bb07 !important;
                    }
                </style>
            </div>
        </div>
    </div>
</div>   